package com.shengqiang.cloud.ups.dao.repository.master;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.shengqiang.cloud.ups.dao.modal.UpmsPermission;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/12/27.
 */
public interface UpmsPermissionMapper extends BaseMapper<UpmsPermission>{

    List<UpmsPermission> loadMenusTree(Map<String,Object> params);

    List<UpmsPermission> selectMenus(Map<String,Object> params);

    List<UpmsPermission> selectResourcesByPId(int pid);
}
